<script language="javascript" src="<?php echo $this->url->get('../webmis/plugin/edit/tinymce/tinymce.min.js'); ?>"></script>
<div id="TabName1" class="noDisplay"><?php echo $Lang->_('web_news_tab1');?></div>
<div id="TabName2" class="noDisplay"><?php echo $Lang->_('web_news_tab2');?></div>
<div id="TabName3" class="noDisplay"><?php echo $Lang->_('web_news_tab3');?></div>
<form id="Form" action="<?php echo $this->url->get('WebNews/Data/add');?>" method="post">
<table class="table_add">
	<tbody id="newsBody0">
	<tr>
		<td class="tright" width="80"></td>
		<td id="textVal"><span class="c2"><?php echo $incLang->_('inc_form_info');?></span></td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_class');?>:</td>
		<td>
			<div id="newsClass">&nbsp;</div>
			<input type="hidden" id="menus_fid" name="class" value="" />
		</td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_title');?>:</td>
		<td>
			<input type="text" name="title" class="input" style="width: 80%;" rangelength="[2,36]" required />
		</td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_source');?>:</td>
		<td>
			<input type="text" name="sources" class="input" style="width: 30%;" value="KSPHP" rangelength="[2,24]" required />
			<span class="inputText"><?php echo $Lang->_('web_news_author');?>:</span>
			<input type="text" name="author" class="input" style="width: 20%;" value="KSPHP" rangelength="[2,12]" required />
		</td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_ctime');?>:</td>
		<td>
			<input type="text" name="ctime" id="datepicker" class="input" style="width: 140px;" value="<?php echo date('Y-m-d H:i:s');?>" />
		</td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_key');?>:</td>
		<td>
			<input type="text" name="key" class="input" style="width: 70%;" />
			<span class="inputText c2">WebMIS,PHP</span>
		</td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_summary');?>:</td>
		<td><textarea name="summary" style="float: left; width: 95%; height: 120px;" maxlength="300"></textarea><span class="inputText c2">1~300<?php echo $incLang->_('inc_form_char');?></span></td>
	</tr>
	<tr>
		<td class="tright"><?php echo $Lang->_('web_news_img');?>:</td>
		<td>
			<input type="text" name="img" class="input" style="width: 70%;" /><span class="inputText c2">Width：110px Height：75px</span>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td class="sub">
			<input type="submit" id="Sub" value="<?php echo $incLang->_('inc_add');?>" />
		</td>
	</tr>
	</tbody>
	<tbody id="newsBody1" style="display: none;">
	<tr>
		<td colspan="2">
			<textarea id="tinymce" name="content">Welcome to use WEBMIS！</textarea>
		</td>
	</tr>
	</tbody>
</table>
</form>
<div style="padding: 0 10px;" id="newsBody2" class="noDisplay">
	<div style="border: 1px dashed #dadcdf; background-color: #FFF; text-align: center; padding: 10px;"><?php echo $Lang->_('web_news_add_info');?></div>
</div>